package lab02.test16;

class Addition extends    Arithmetic{

           @Override

   double addition1() {

                double sum=0;

               for (j=1;j<=n;j++){

                       sum=sum+a[j];

                   }



                       return  sum;

           }

    @Override

   double multiplication1() {

               return 0;

           }


            @Override

  double division1() {

                        return 0;

          }



            @Override

    double subtraction1() {

               return 0;

          }

}
